WASTE is a text editing library for Macintosh programmers.
Designed to be a viable replacement for TextEdit, WASTE offers several enhancements, including:
• Text size limited only by memory (no 32K barrier).
• Built-in undo.
• Drag-and-drop text editing.
• Embedded objects.
• Real tabs.
• Fully justified text.
• Built-in inline input support.
and much more!
Like TextEdit, WASTE handles multi-styled text and relies on the services offered by the Script Manager for drawing, measuring and hit-testing the text and for finding word and line breaks.
WASTE fully supports double-byte scripts, like Japanese and (starting from version 1.3a1) bidirectional scripts, like Arabic.
For the latest news about WASTE, look up this web page:
<http://rhino.harvard.edu/dan/waste.html>
You can download the latest updates from the following site:
<ftp://rhino.harvard.edu/pub/dan/WASTE/>
Starting from version 1.2a1, WASTE is written in C, based on Dan Crevier’s port of version 1.1 (which was written in pascal).
The pascal version is no longer supported, although pascal interface files are included. The original WASTE demo application was also rewritten in C by John C. Daub and myself.
This document is provided mainly to give you an opportunity to play with the WASTE Demo application; the real documentation is in a separate file in Acrobat format. WARNING: the documentation still refers to version 1.2 of WASTE and contains some obsolete information.
The C sources for WASTE and for a demo application have been successfully compiled with the following compilers:
• Metrowerks C/C++ 68K 1.6 (including CFM68K)
• Metrowerks C/C++ PPC 1.6
• Symantec C++ 8.1
The sources are based on Apple’s Universal Headers version 2.1.
WASTE Mailing List
Dan Crevier maintains the WASTE Mailing List using LetterRip (a WASTE-using automated listserver). To join the list, send a request to:
<mailto:requests@rhino16.fas.harvard.edu>
With the words:
subscribe waste
in the body of the message (the subject is ignored).
To post a message to the list, send it to:
<mailto:waste@rhino16.fas.harvard.edu>
WASTE Web Page
Dan Crevier also maintains the WASTE page on the World-Wide Web:
<http://rhino.harvard.edu/dan/waste.html>
This page includes pointers to a number of WASTE add-ons and goodies, and a list of programs using WASTE.
Internet Config
The WASTE Demo supports command clicking of URLs using Internet Config (version 1.1 or newer). The WASTE Demo folder contains a minimal set of files stolen from the Internet Config Programmer’s Kit, needed to build the projects.
WASTE is essentially freeware, so you can use it in your programs (no matter whether freeware, shareware or commercial) at no cost, but there are a couple of restrictions:
• You must add a credit line to your program’s about box and/or manual.
• I am entitled to a fully registered complimentary copy of the final product.
For the complete story, please read the Distribution & Licensing section of the WASTE Documentation.
Author’s Address
My address is:
Marco Piovanelli
Mail: 26, via del Sebino — I-25126 Brescia — Italy
E-mail: <mailto:piovanel@kagi.com>
Please notice that my old address <mailto:piovanel@dsi.unimi.it> has been discontinued.